package com.daniel.gof.adapter;

/**
 * 详细说明
 *
 * @author Daniel
 * @version V1.0
 * @date 2020/5/15 14:34
 */
public class Consumer {
	public static void main(String[] args) {
		Cock cock = new WildCock();
		Duck duck = new CockAdapter(cock);

		duck.quack();
		duck.fly();
		duck.swin();
	}
}
